<?
	/*global $db, $bannerMain, $FullUrl;
	$sql = "select img, link, name_vn, name_en from banner where cid = 115 and active = 1 LIMIT 5";
	$bannerMain = $db->getAll($sql);
	
include(UC_DIR.'Slider.ctp');*/
?>

<?
	global $db, $FullUrl, $sliders, $slider_group, $lg;
	
	$sql = "select * from img_group where active = 1 and alias = 'Slider Home'";
	
	//echo $sql;
	
	$slider_group = $db->getRow($sql);
	
	if($slider_group)
	{
		$sql = "select * from img where active = 1 and id_img_group = ".$slider_group['id'];
		
		$sliders = $db->getAll($sql);
		
		//echo $sql;
	}
	
	include(UC_DIR.'Slider.ctp');
?>